#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

@interface Calculator : NSObject {
    IBOutlet UILabel *display;
    IBOutlet UIButton *zeroButton;
    IBOutlet UIButton *oneButton;
    IBOutlet UIButton *twoButton;
    IBOutlet UIButton *threeButton;
    IBOutlet UIButton *fourButton;
    IBOutlet UIButton *fiveButton;
    IBOutlet UIButton *sixButton;
    IBOutlet UIButton *sevenButton;
    IBOutlet UIButton *eightButton;
    IBOutlet UIButton *nineButton;
    IBOutlet UIButton *decimalButton;
    IBOutlet UIButton *addButton;
    IBOutlet UIButton *subtractButton;
    IBOutlet UIButton *multiplyButton;
    IBOutlet UIButton *divideButton;
    IBOutlet UIButton *positiveNegativeButton;
    IBOutlet UIButton *computeButton;
    IBOutlet UIButton *clearButton;
    IBOutlet UIButton *memoryClearButton;
    IBOutlet UIButton *memoryAddButton;
    IBOutlet UIButton *memorySubtractButton;
    IBOutlet UIButton *memoryRecallButton;
}
- (IBAction)digit:(UIButton*)sender;
- (IBAction)add:(UIButton*)sender;
- (IBAction)subtract:(UIButton*)sender;
- (IBAction)multiply:(UIButton*)sender;
- (IBAction)division:(UIButton*)sender;
- (IBAction)positiveNegative:(UIButton*)sender;
- (IBAction)clear:(UIButton*)sender;
- (IBAction)memoryClear:(UIButton*)sender;
- (IBAction)memoryAdd:(UIButton*)sender;
- (IBAction)memorySubtract:(UIButton*)sender;
- (IBAction)memoryRecall:(UIButton*)sender;
- (IBAction)compute:(UIButton*)sender;
- (void)assign:(NSString*)text;
@end
